<!DOCTYPE html>
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>详细页</title>
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="format-detection" content="telephone=no">
    <link rel="stylesheet" href="css/common.css" />
    <script type="text/javascript" src="lib/jquery-3.1.1.min.js"></script>
    <script type="text/javascript" src="lib/underscore.js"></script>
    <script type="text/javascript" src="lib/global.js"></script>
</head>

<body>
<!--通用头-->
<div class="header">
    <span class="leftBtn backBtn" onclick="window.history.back()">
           &nbsp;
    </span>
</div>

<!--主内容区-->
<div class="mainContainer detailContainer" id="commonDemo">
    从上个页面传来的数据为：
    <div id="param" style="color: red"></div>
    输入希望返回到上个页面的数据：<br>
    <input type="text" id="result" style="color: red;border: 1px red solid;"/><br>
    <a href="javascript:;">点击将数据返回到上个页面并关闭页面</a>
</div>

</body>
</html>
<script>
    $(function(){
        var fn = ABUS.Fn;
        var Const = ABUS.Const;
        $('#param').text(JSON.stringify(__param__,true,''));
        $('#commonDemo a').on('click',function(){
            var val = $('#result').val();
            fn.setResult(val);
            fn.winClose();
        })
    })
</script>
